package com.alibaba.serverless.common;

import java.util.HashMap;
import java.util.Map;

/**
 * 请谨慎修改此处代码
 * 响应内容，参考：https://help.aliyun.com/document_detail/54788.html
 * @author ningzhong.wyl
 *
 */
public class ApiGwResponse {
    boolean isBase64Encoded;
    int statusCode;
    Map<String , Object> headers = new HashMap<String, Object>();
    String body;

    public boolean isBase64Encoded() {
        return isBase64Encoded;
    }

    public void setBase64Encoded(boolean base64Encoded) {
        isBase64Encoded = base64Encoded;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public Map<String, Object> getHeaders() {
        return headers;
    }

    public void setHeaders(Map<String, Object> headers) {
        this.headers = headers;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }
}
